function startTime() {
		var tm = new Date();
		var h = tm.getHours();
		var m = tm.getMinutes();
		var s = tm.getSeconds();
		m = checkTime(m);
		s = checkTime(s);
		document.getElementById('time').innerHTML = h + ":" + m + ":" + s;
		t = setTimeout('startTime()', 500);
	}
	function checkTime(i) {
		if (i < 10) {
			i = "0" + i;
		}
		return i;
	}
	function currentDate(){
		var date = new Date();
		date = date.toLocaleDateString();
		document.getElementById('date').innerHTML = date;
	}
	function loadScripts(){
		currentDate();
		startTime();
	}